include ../Makefile.shared

define PROJ_dn2mn
  SOURCES = dn2mn.ml 
  RESULT = dn2mn
endef
export PROJ_dn2mn

# If the environment does not define subprojects to handle,
# then set a default
ifndef SUBPROJS
  export SUBPROJS = dn2mn
endif

export LIBS=ext str data expat mn bn 

# Default target to use
all: nc
	cp $(SUBPROJS) $(BINDIR)

# Catch-all target will be applied to all subprojects automatically
%:
	@$(MAKE) -f $(OCAMLMAKEFILE) subprojs SUBTARGET=$@
